

package com.hazelcast.internal.nio.ascii;

import com.hazelcast.internal.server.ServerConnection;

/**
 * This class is an all allowing implementation of {@link TextProtocolFilter}.
 */
public class AllowingTextProtocolFilter implements TextProtocolFilter {

    public static final AllowingTextProtocolFilter INSTANCE = new AllowingTextProtocolFilter();

    @Override
    public void filterConnection(String commandLine, ServerConnection connection) {
        // nothing to do here, allowing all
    }
}
